babl: remove outdated comment
authorØyvind Kolås <pippin@gimp.org>
Wed, 20 Jun 2018 10:55:55 +0000 (12:55 +0200)
committerØyvind Kolås <pippin@gimp.org>
Wed, 20 Jun 2018 10:56:02 +0000 (12:56 +0200)
babl/base/model-gray.c

index 5449a4f33ebf7aacfad85af18ca4bad9c3e74ff6..5db405bde1516c7f1b9ad8554e0ba2ae2ab357e9 100644 (file)
@@ -201,7 +201,7 @@ rgb_to_gray_nonlinear (Babl  *conversion,
       else
         alpha = 1.0;
 
-      luminance = red   * RGB_LUMINANCE_RED +    // XXX: should be taken from BablSpace
+      luminance = red   * RGB_LUMINANCE_RED +
                   green * RGB_LUMINANCE_GREEN +
                   blue  * RGB_LUMINANCE_BLUE;
       *(double *) dst[0] = babl_trc_from_linear (trc, luminance);